package com.bjpowernode.p2padmin.user.config;

import com.bjpowernode.p2padmin.user.listener.PermissionListener;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

/**
 * ClassName:ListenerConfig
 * Package:com.bjpowernode.p2padmin.user.config
 * Description:TODO描述
 *
 * @date:2020/4/7 20:27
 * @author:CC
 */
@Configuration
public class ListenerConfig implements WebMvcConfigurer {

    @Override
    public void addInterceptors(InterceptorRegistry registry) {

       // registry.addInterceptor(new PermissionListener()).addPathPatterns("/admin/**");

    }
}
